override LDLIBS		+= -lSDL2 -lpthread

ifdef ENABLE_THEORA_RECORDER
override CXXFLAGS	+= -DENABLE_THEORA_RECORDER
override LDLIBS		+= -ltheoraenc -ltheoradec -logg
endif

LOCAL_MAKE_INCLUDE := include
override TEMPLATE := make_templates/binary
override LOCAL_TEMPLATE := $(LOCAL_MAKE_INCLUDE)/$(TEMPLATE)

ifneq ($(shell cat $(LOCAL_TEMPLATE) 2> /dev/null),)
include $(LOCAL_TEMPLATE)
else
include $(TEMPLATE)
endif
